//
//  Mediator+My.h
//  JinFuThree
//
//  Created by 爱尚 on 2018/8/29.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "Mediator.h"

@interface Mediator (My)


-(UIViewController*_Nullable)My_mainViewController;

/**
 得到消息页面
 
 @return VC
 */
-(UIViewController*_Nullable)My_MessageViewController;

/**
 高级实名认证VC
 
 @return VC
 */
-(UIViewController*_Nullable)My_AdvancedApproveViewController;

/**
 得到添加银行卡页面
 
 @return VC
 */
-(UIViewController*_Nullable)My_AddBankCardViewController;

/**
 得到贷款页面
 
 @return VC
 */
-(UIViewController*_Nullable)My_LoansViewController;
/**
 得到分期页面
 
 @return VC
 */
-(UIViewController*_Nullable)My_InstamentViewController;

/**
 是否有新消息
 
 @return YES 有
 */
-(BOOL)My_HaveNewMessage;
/**
 清空消息红点 进入消息页面时使用
 */
- (void)My_EmptyNewMessage;


-(void)getMessageStatusWithApplication:(nonnull UIApplication *)application didFinishLaunchingWithOptions:(nullable NSDictionary *)launchOptions;
-(void)getMessgaeWhthApplicationDidBecomeActive:(nonnull UIApplication *)application;
-(void)getMessageWhenApplicationWillEnterForeground:(nonnull UIApplication *)application;
-(void)getMessageNumWhenApplication:(nonnull UIApplication *)application didReceiveRemoteNotification:(nullable NSDictionary *)userInfo window:(nonnull UIWindow *)window;
@end
